package com.mc.lp.service;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.mc.lp.database.exception.ConcurrentAccessException;
import com.mc.lp.shared.vo.IValueObject;
import com.mc.lp.shared.vo.SportsRecordVO;
import com.mc.lp.shared.vo.StudentRecordVO;
/*
 * @author aphanda
 * @date Sep 21, 2014
 * @time 12:48:40 AM
 */

public interface SportsService  extends IService  {
	public IValueObject saveSports(StudentRecordVO studentRecordVO)throws DataAccessException, ConcurrentAccessException;
	public IValueObject getSportsByEntityIdGrade(StudentRecordVO studentRecordVO);
	public IValueObject getSportsByEntityId(StudentRecordVO studentRecordVO);	

	// User Related services
	
	public List<SportsRecordVO> getSportsByEntityIdGrade(Long entityId, int gradeId); 
	public List<SportsRecordVO> getSportsEntityId(Long entityId);
	public List<SportsRecordVO> getSportsByGrades(Long studentEntity , List<Integer> gradeValueList);
}
